home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: length.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 6c 65 6e 67 74 68 20 |\section|{length |
|00000010| 2d 2d 2d 20 4c 65 6e 67 | 74 68 20 6f 66 20 45 6e |--- Leng|th of En|
|00000020| 74 69 74 79 7d 0d 5c 6c | 61 62 65 6c 7b 66 6e 3a |tity}.\l|abel{fn:|
|00000030| 6c 65 6e 67 74 68 7d 0d | 5c 69 6e 64 65 78 7b 6c |length}.|\index{l|
|00000040| 65 6e 67 74 68 28 29 7d | 0d 5c 69 6e 64 65 78 7b |ength()}|.\index{|
|00000050| 6c 65 6e 67 74 68 20 6f | 66 20 65 6e 74 69 74 79 |length o|f entity|
|00000060| 7d 0d 5c 62 65 67 69 6e | 7b 72 61 69 6c 7d 0d 4c |}.\begin|{rail}.L|
|00000070| 65 6e 67 74 68 20 3a 20 | 27 6c 65 6e 67 74 68 27 |ength : |'length'|
|00000080| 20 27 28 27 20 28 20 53 | 63 61 6c 61 72 20 7c 20 | '(' ( S|calar | |
|00000090| 4d 61 74 72 69 78 20 29 | 20 27 29 27 20 3b 0d 5c |Matrix )| ')' ;.\|
|000000a0| 65 6e 64 7b 72 61 69 6c | 7d 0d 0d 54 68 65 20 5c |end{rail|}..The \|
|000000b0| 76 65 72 62 2b 6c 65 6e | 67 74 68 2b 20 66 75 6e |verb+len|gth+ fun|
|000000c0| 63 74 69 6f 6e 20 72 65 | 74 75 72 6e 73 20 74 68 |ction re|turns th|
|000000d0| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the |
|000000e0| 61 72 67 75 6d 65 6e 74 | 2e 0d 54 68 65 20 6d 65 |argument|..The me|
|000000f0| 61 6e 69 6e 67 20 6f 66 | 20 6c 65 6e 67 74 68 20 |aning of| length |
|00000100| 76 61 72 69 65 73 20 61 | 63 63 6f 72 64 69 6e 67 |varies a|ccording|
|00000110| 20 74 6f 20 74 68 65 20 | 61 72 67 75 6d 65 6e 74 | to the |argument|
|00000120| 20 74 79 70 65 3a 0d 5c | 62 65 67 69 6e 7b 64 65 | type:.\|begin{de|
|00000130| 73 63 72 69 70 74 69 6f | 6e 7d 0d 5c 69 74 65 6d |scriptio|n}.\item|
|00000140| 5b 73 63 61 6c 61 72 5d | 20 74 68 65 20 6c 65 6e |[scalar]| the len|
|00000150| 67 74 68 20 69 73 20 24 | 31 24 2e 0d 5c 69 74 65 |gth is $|1$..\ite|
|00000160| 6d 5b 73 74 72 69 6e 67 | 5d 20 74 68 65 20 6e 75 |m[string|] the nu|
|00000170| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 61 63 74 65 |mber of |characte|
|00000180| 72 73 20 69 6e 20 74 68 | 65 20 73 74 72 69 6e 67 |rs in th|e string|
|00000190| 2c 20 6e 6f 74 20 69 6e | 63 6c 75 64 69 6e 67 0d |, not in|cluding.|
|000001a0| 74 68 65 20 74 72 61 69 | 6c 69 6e 67 20 6e 75 6c |the trai|ling nul|
|000001b0| 6c 2e 0d 5c 69 74 65 6d | 5b 6d 61 74 72 69 78 5d |l..\item|[matrix]|
|000001c0| 20 74 68 65 20 67 72 65 | 61 74 65 72 20 6f 66 20 | the gre|ater of |
|000001d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 6f |the numb|er of ro|
|000001e0| 77 73 20 61 6e 64 20 74 | 68 65 20 6e 75 6d 62 65 |ws and t|he numbe|
|000001f0| 72 20 6f 66 0d 63 6f 6c | 75 6d 6e 73 2e 0d 5c 69 |r of.col|umns..\i|
|00000200| 74 65 6d 5b 6c 69 73 74 | 5d 20 74 68 65 20 6e 75 |tem[list|] the nu|
|00000210| 6d 62 65 72 20 6f 66 20 | 65 6c 65 6d 65 6e 74 73 |mber of |elements|
|00000220| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 2e 0d 5c 65 | in the |list..\e|
|00000230| 6e 64 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0d |nd{descr|iption}.|
|00000240| 0d 5c 70 61 72 61 67 72 | 61 70 68 7b 45 78 61 6d |.\paragr|aph{Exam|
|00000250| 70 6c 65 7d 0d 5c 69 6e | 64 65 78 7b 65 78 61 6d |ple}.\in|dex{exam|
|00000260| 70 6c 65 20 6f 66 20 6c | 65 6e 67 74 68 28 29 7d |ple of l|ength()}|
|00000270| 0d 5c 69 6e 64 65 78 7b | 6c 65 6e 67 74 68 28 29 |.\index{|length()|
|00000280| 21 65 78 61 6d 70 6c 65 | 7d 0d 5c 62 65 67 69 6e |!example|}.\begin|
|00000290| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 3e 20 6c 65 6e |{verbati|m}.> len|
|000002a0| 67 74 68 28 33 2e 32 35 | 36 37 29 0d 20 20 20 20 |gth(3.25|67). |
|000002b0| 20 20 20 20 31 0d 3e 20 | 6c 65 6e 67 74 68 28 22 | 1.> |length("|
|000002c0| 61 20 73 74 72 69 6e 67 | 20 77 69 74 68 20 28 63 |a string| with (c|
|000002d0| 6f 75 6e 74 2d 65 6d 29 | 20 63 68 61 72 61 63 74 |ount-em)| charact|
|000002e0| 65 72 73 22 29 0d 20 20 | 20 20 20 20 20 33 35 0d |ers"). | 35.|
|000002f0| 3e 20 6c 65 6e 67 74 68 | 28 22 61 20 73 74 72 69 |> length|("a stri|
|00000300| 6e 67 20 77 69 74 68 20 | 33 37 28 63 6f 75 6e 74 |ng with |37(count|
|00000310| 2d 65 6d 29 20 63 68 61 | 72 61 63 74 65 72 73 22 |-em) cha|racters"|
|00000320| 29 0d 20 20 20 20 20 20 | 20 33 37 0d 3e 20 63 20 |). | 37.> c |
|00000330| 3d 20 65 79 65 28 32 2c | 35 29 0d 20 63 20 3d 0d |= eye(2,|5). c =.|
|00000340| 20 20 20 20 20 20 20 20 | 31 20 20 20 20 20 20 20 | |1 |
|00000350| 20 20 20 30 20 20 20 20 | 20 20 20 20 20 20 30 20 | 0 | 0 |
|00000360| 20 20 20 20 20 20 20 20 | 20 30 20 20 20 20 20 20 | | 0 |
|00000370| 20 20 20 20 30 20 20 0d | 20 20 20 20 20 20 20 20 | 0 .| |
|00000380| 30 20 20 20 20 20 20 20 | 20 20 20 31 20 20 20 20 |0 | 1 |
|00000390| 20 20 20 20 20 20 30 20 | 20 20 20 20 20 20 20 20 | 0 | |
|000003a0| 20 30 20 20 20 20 20 20 | 20 20 20 20 30 20 20 0d | 0 | 0 .|
|000003b0| 3e 20 6c 65 6e 67 74 68 | 28 63 29 0d 20 20 20 20 |> length|(c). |
|000003c0| 20 20 20 20 35 0d 3e 20 | 64 20 3d 20 3c 3c 20 61 | 5.> |d = << a|
|000003d0| 20 3d 20 34 20 3b 20 76 | 20 3d 20 3c 3c 73 20 3d | = 4 ; v| = <<s =|
|000003e0| 20 33 2e 34 2b 32 6a 20 | 3b 63 20 3d 20 65 79 65 | 3.4+2j |;c = eye|
|000003f0| 28 32 2c 32 29 3e 3e 3b | 20 7a 20 3d 20 7a 65 72 |(2,2)>>;| z = zer|
|00000400| 6f 73 28 32 2c 32 29 3e | 3e 0d 20 20 20 61 20 20 |os(2,2)>|>. a |
|00000410| 20 20 20 20 20 20 20 20 | 20 20 76 20 20 20 20 20 | | v |
|00000420| 20 20 20 20 20 20 20 7a | 20 20 20 20 20 20 20 20 | z| |
|00000430| 20 20 20 20 0d 3e 20 6c | 65 6e 67 74 68 28 64 29 | .> l|ength(d)|
|00000440| 0d 20 20 20 20 20 20 20 | 20 33 0d 3e 20 6c 65 6e |. | 3.> len|
|00000450| 67 74 68 28 64 2e 76 29 | 0d 20 20 20 20 20 20 20 |gth(d.v)|. |
|00000460| 20 32 0d 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d | 2.\end{|verbatim|
|00000470| 7d 0d 0d 53 65 65 20 61 | 6c 73 6f 3a 20 53 65 63 |}..See a|lso: Sec|
|00000480| 74 69 6f 6e 20 5c 70 61 | 67 65 72 65 66 7b 66 6e |tion \pa|geref{fn|
|00000490| 3a 73 68 6f 77 7d 20 5c | 76 65 72 62 2b 73 68 6f |:show} \|verb+sho|
|000004a0| 77 28 29 2b 2c 0d 53 65 | 63 74 69 6f 6e 20 5c 70 |w()+,.Se|ction \p|
|000004b0| 61 67 65 72 65 66 7b 66 | 6e 3a 73 69 7a 65 7d 20 |ageref{f|n:size} |
|000004c0| 5c 76 65 72 62 2b 73 69 | 7a 65 28 29 2b 2e 0d 0d |\verb+si|ze()+...|
|000004d0| 0d 5c 6e 65 77 70 61 67 | 65 0d 0d 0d 0d 0d 0d |.\newpag|e...... |
+--------+-------------------------+-------------------------+--------+--------+